
		*************************************************************************
		*** EBA Voter Turnout (VT) in democracies , Fixed effects  31-40 ***
		*************************************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				cd "C:\Users\Administrator\Desktop\"
				use "turnout_eba_stdlag.dta"
 				
						
 ***********************
 ** 31. num_elections_ln_s     **
 ***********************
		
		xtreg vt /**/ num_elections_ln_s  /**/
		regsave using /**/ eba_vtfe_31 /**/, replace
		
		tuples 				///
			ban 			/// 1
			boycott 		/// 2
			competitive_s 	/// 3
			concurrentsamedate 	/// 4
			dist_mag_s 			/// 5
			econ_global_sl		/// 6
			election_2  		/// 7
			election_3   	  /// 8
			election_3_4   	/// 9
			election_4 		///	10
			///
			election_5_6  	/// 11
			election_7_8 	/// 12
			enpp_s 			/// 13
			enpp_sq_s 		/// 14
			exec_response  	/// 15
			federalism 		/// 16
			fract_ethnic_s 	/// 17
			fract_lang_s 	/// 18
			fract_rel_s   	/// 19
			gini_sl 		/// 20
			///
			gni_pc_growth_sl  /// 21
			harassment 		/// 22
			hdi_index_s 	  /// 23
			inflation_ln_sl    /// 24
			islamic_majority   /// 25
			leg_size_ln_s 	/// 26
			life_exp_sl 	/// 27
			maj_status_s 	/// 28
			majoritarian  	/// 29
			mixed 		/// 30
			///
			/**/ 	 ///
			oecd			/// 31
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ num_elections_ln_s  /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_31 /**/, tstat pval ci autoid append detail(all)  			
						}								
													
					
 ***********************
 ** 32. oecd     **
 ***********************
		
		xtreg vt /**/ oecd   /**/
		regsave using /**/ eba_vtfe_32 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			/**/ 			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ oecd   /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_32 /**/, tstat pval ci autoid append detail(all)  			
						}																		
					
 ***********************
 ** 33.  party_frac_s    **
 ***********************
		
		xtreg vt /**/ party_frac_s    /**/
		regsave using /**/ eba_vtfe_33 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			/**/  	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ party_frac_s  /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_33 /**/, tstat pval ci autoid append detail(all)  			
						}														
						
																		
					
 ***********************
 ** 34. plurality      **
 ***********************
		
		xtreg vt /**/  plurality   /**/
		regsave using /**/ eba_vtfe_34 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			/**/  		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/  plurality  /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_34 /**/, tstat pval ci autoid append detail(all)  			
						}								
						
					
 ***********************
 ** 35.  polity2_sl      **
 ***********************
		
		xtreg vt /**/ polity2_sl    /**/
		regsave using /**/ eba_vtfe_35 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			/**/  		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/  polity2_sl   /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_35 /**/, tstat pval ci autoid append detail(all)  			
						}								
						
						
					
 ***********************
 ** 36. pop_density_ln_sl       **
 ***********************
		
		xtreg vt /**/ pop_density_ln_sl     /**/
		regsave using /**/ eba_vtfe_36 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			polity2_sl 		///
			/**/   ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/  pop_density_ln_sl    /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_36 /**/, tstat pval ci autoid append detail(all)  			
						}								
						
 ***********************
 ** 37.  prev_el_time_s      **
 ***********************
		
		xtreg vt /**/ prev_el_time_s      /**/
		regsave using /**/ eba_vtfe_37 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			polity2_sl 		///
			pop_density_ln_sl  ///
			/**/  	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/  prev_el_time_s     /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_37 /**/, tstat pval ci autoid append detail(all)  			
						}								
																		
	
 ***********************
 ** 38. qual_democ       **
 ***********************
		
		xtreg vt /**/  qual_democ   /**/
		regsave using /**/ eba_vtfe_38 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			polity2_sl 		///
			pop_density_ln_sl  ///
			prev_el_time_s 	///
			/**/  		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ qual_democ   /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_38 /**/, tstat pval ci autoid append detail(all)  			
						}								
																							

 ***********************
 ** 39. radios_pc_ln_sl       **
 ***********************
		
		xtreg vt /**/ radios_pc_ln_sl     /**/
		regsave using /**/ eba_vtfe_39 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			polity2_sl 		///
			pop_density_ln_sl  ///
			prev_el_time_s 	///
			qual_democ 		///
			/**/  	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ radios_pc_ln_sl    /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_39 /**/, tstat pval ci autoid append detail(all)  			
						}								
																			

 ***********************
 ** 40.  share30to69ofVAP      **
 ***********************
		
		xtreg vt /**/ share30to69ofVAP      /**/
		regsave using /**/ eba_vtfe_40 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	/// 
			gini_sl 		///
			///
			gni_pc_growth_sl  ///
			harassment 		///
			hdi_index_s 	  ///
			inflation_ln_sl    ///
			islamic_majority   ///
			leg_size_ln_s 	///
			life_exp_sl 		///
			maj_status_s 	///
			majoritarian  	///
			mixed 		///
			///
			num_elections_ln_s 	 ///
			oecd 			///
			party_frac_s  	///
			plurality  		///
			polity2_sl 		///
			pop_density_ln_sl  ///
			prev_el_time_s 	///
			qual_democ 		///
			radios_pc_ln_sl  	///
			/**/  ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(21&23&47) /* gni hdi and union-density*/ ///
											!(21&23&48) /* gni hdi and unionization */	///	
											!(23&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(23&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ share30to69ofVAP  /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_40 /**/, tstat pval ci autoid append detail(all)  			
						}								
													
